# SAS4Tool
SAS: Zombie Assault 4 profile editor.

# First-time Preparation
1. Download & install [Git](https://git-scm.com/downloads),

2. Install Python by following steps,

   * a. Download the installer from [official website](https://www.python.org/downloads/) (minimum version is 3.8, maximum version is 3.11),

   * b. Run the installer,

   * c. Make sure to tick `Add Python to PATH` checkbox option,

   * d. Click `Install` button,

   * e. To confirm the Python installation, open and type in console `python --version`, it should print installed Python version,

3. Install Poetry by following steps,

   * a. Open a new console, either Terminal (`cmd`) or Powershell (`powershell`),

   * b. Type in console: `python -m pip install pipx`, wait until finished,

   * c. Type in console: `python -m pipx install poetry`, wait until finished,

   * d. Type in console: `python -m pipx ensurepath`,

   * e. Close the console and open a new fresh one,

   * f. To confirm the Poetry installation, type in console `poetry --version`, it should print installed Poetry version,

4. Download [this repository zip file](https://notabug.org/omamfan/SAS4Tool/archive/poetry-migration.zip), and extract it,

5. Run `setup.bat`, wait until finished,

6. Preparation is completed, tool is ready to use.

# How to Run
Run `start.bat`.

# How to Update
Run `update.bat`.

# How to Build Standalone Program
1. Run `build-standalone.bat`, wait until finished,

2. It should created `dist/sas4tool-*.zip` archive file.
